package com.wing.storage.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wing.storage.dao.ProductStorageWorkOutDetailDao;
import com.wing.storage.model.entity.ProductStorageWorkOutDetail;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 仓库产品出库作业详情-ServiceImpl
 *
 * @author xiayang
 */
@Service
@Slf4j
public class ProductStorageWorkOutDetailServiceImpl extends ServiceImpl<ProductStorageWorkOutDetailDao, ProductStorageWorkOutDetail> implements ProductStorageWorkOutDetailService {

    @Override
    public List<ProductStorageWorkOutDetail> list(Map<String, Object> params) {
        return baseMapper.list(params);
    }

    @Override
    public ProductStorageWorkOutDetail get(Long id) {
        return baseMapper.get(id);
    }
}
